package com.witdata.security.utils;

import com.witdata.security.service.impl.BCryptPasswordEncoderImpl;

public class PasswordUtils {

    public static void main(String[] args) {
        BCryptPasswordEncoderImpl encoder = new BCryptPasswordEncoderImpl();
        String encodePassword = encoder.encode("123");
        boolean matches = encoder.matches("123", encodePassword);
        System.out.println("matches = " + matches);
    }

}
